package com.tsll.service;

import com.tsll.entity.Staff;
import com.tsll.vo.RejectionTransferVo;
import com.tsll.vo.Result;


public interface StafftransferService {
    int insertStaffTransfer (Staff stafftransfer);
     Result checktransfer(Integer current, Integer pageSize);

    Result transfer(Integer current, Integer pageSize);

    Result adopt(Integer id,Integer staffid,Integer newdeptid);

    Result reject(RejectionTransferVo rejectionTransferVo);

    /***
     * 根据id删除信息
     * @param id
     * @return
     */
    Result deleteByPrimaryKey(Integer id);
}
